package com.springcloud.demo.servera.server.fallback;

import com.springcloud.demo.base.vo.ResultVO;
import com.springcloud.demo.servera.server.IServerBFeign;
import io.seata.core.model.Result;
import org.springframework.stereotype.Component;

@Component
public class ServerBFallback implements IServerBFeign {

    @Override
    public ResultVO<String> get() {
        return ResultVO.ok("降级测试...");
    }

    @Override
    public ResultVO<String> insert() {
        return ResultVO.ok("降级测试...");
    }
}
